package com.bao.interkont.mapper;

import com.bao.interkont.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author bao*
 * @version 1.0
 */
@Mapper
public interface LoginMapper {
    @Select("select * from user where account=#{account} and password=#{password}")
    public User login(User user);
}
